/*
 * This file (AxSensor.java) is protected by the GNU GPL licence (v2). 
 * Please read the license.txt attached for further informations. 
 * 
 */

package artx.objects;

/**
 * Basic Sensor, able to read an Artspace or an external media/input.
 * 
 * @author Xavier Gouchet
 * 
 */
public abstract class AxSensor extends AxObject {

	/**
	 * Standard constructor.
	 * 
	 * @param id
	 *            the object's id
	 * @param name
	 *            the object's name
	 */
	public AxSensor(int id, String name) {
		super(id, name);
	}

	/**
	 * Apply the sensor on the artspace.
	 * 
	 * @param a
	 *            the artspace on which the sensor is applied
	 * @return boolean whether the method has been completed successfully or not
	 */
	public boolean Apply(AxArtspace a) {
		return true;
	}
}
